package com.oracle.serviceImpl;

import com.oracle.dao.AccountDao;
import com.oracle.service.AccountService;

public class AccountServiceImpl implements AccountService {
    private AccountDao accountDao;

    public void setAccountDao(AccountDao accountDao) {
        this.accountDao = accountDao;
    }

    @Override
    public void zhuanzhang(String outer, String inter, int money) {
        accountDao.outer(outer,money);
        accountDao.inter(inter, money);
    }
}
